]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
6 years agoscreenShield: Rework key focus management
Georges Basile Stavracas Neto [Mon, 2 Dec 2019 15:35:00 +0000 (12:35 -0300)]
screenShield: Rework key focus management

Instead of always grabbing key focus for the screen lock
group, do that for the unlock dialog itself.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Create auth prompt on demand
Georges Basile Stavracas Neto [Mon, 2 Dec 2019 14:01:20 +0000 (11:01 -0300)]
unlockDialog: Create auth prompt on demand

AuthPrompt is the set of actors that contain the user avatar,
the username, and the password entry. With the removal of the
screen shield, the unlock dialog (be it UnlockDialog or the
LoginDialog) is always created, and in the case of UnlockDialog,
so is the auth prompt.

This is problematic, though, since for passwordless accounts,
the simple act of creating AuthPrompt authenticates the user,
and lifts the lock screen.

Create the AuthPrompt on demand in UnlockDialog.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Add .critical CSS class to critical notifications
Georges Basile Stavracas Neto [Wed, 5 Feb 2020 14:58:57 +0000 (11:58 -0300)]
unlockDialog: Add .critical CSS class to critical notifications

As per the latest lock screen mockups, critical notifications must have
a more prominent, solid color.

Add a .critical style class to critical notification bubbles, and make
them darker.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agotheme: Adjust style of lock screen notifications
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 19:08:20 +0000 (16:08 -0300)]
theme: Adjust style of lock screen notifications

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Line notification labels horizontally
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 19:05:45 +0000 (16:05 -0300)]
unlockDialog: Line notification labels horizontally

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Use just the counter to format notifications
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 19:05:12 +0000 (16:05 -0300)]
unlockDialog: Use just the counter to format notifications

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Show clock when canceling or failing auth
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 19:14:26 +0000 (16:14 -0300)]
unlockDialog: Show clock when canceling or failing auth

There is still a problem of focus not going to the entry after the
first cancel, but it seems to work fine otherwise.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Toggle between clock and auth prompt
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 17:37:10 +0000 (14:37 -0300)]
unlockDialog: Toggle between clock and auth prompt

Toggle between them when (1) tapping anythere on the screen, and
(2) pressing any key.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Move auth prompt and clock to a ShellStack
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 17:36:01 +0000 (14:36 -0300)]
unlockDialog: Move auth prompt and clock to a ShellStack

We will toggle between each other in the next commit, so add
both to a ShellStack.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Remove key press event handler
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 17:33:26 +0000 (14:33 -0300)]
screenShield: Remove key press event handler

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Introduce UnlockDialogLayout
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 16:36:47 +0000 (13:36 -0300)]
unlockDialog: Introduce UnlockDialogLayout

This is the layout manager responsible for ensuring
that the clock is always at the third of the screen
height, and the notifications can push it to above.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agotheme: Adjust lock screen clock fonts
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 15:52:47 +0000 (12:52 -0300)]
theme: Adjust lock screen clock fonts

These values were decided during the GNOME Shell Hackfest, but
they're still subject to changes.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agosessionMode: Remove lock-screen mode
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 15:43:18 +0000 (12:43 -0300)]
sessionMode: Remove lock-screen mode

Now that the screen shield is gone (at least, as it used to
be), the corresponding session mode is not necessary anymore
as well.

Remove the 'lock-screen' session mode, and the corresponding
CSS.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Move lock shield below dialog
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 15:30:23 +0000 (12:30 -0300)]
screenShield: Move lock shield below dialog

Pretty much what the commit title says.

This gives the lock shield actor another role: instead of
being the interactive screen shield, make it the invisible
actor that prevents interacting with windows while the
unlock dialog is sliding down.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Only animate the unlock dialog
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 15:29:41 +0000 (12:29 -0300)]
screenShield: Only animate the unlock dialog

Remove the slide-up-down animation from the lock shield.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Rename _liftShield to _activateDialog
Georges Basile Stavracas Neto [Thu, 30 Jan 2020 14:30:55 +0000 (11:30 -0300)]
screenShield: Rename _liftShield to _activateDialog

Lifting the shield is now what happens *after* successfully logging
in, not before. Now, what we do is activate the dialog before logging
in.

Rename the method to reflect that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Activate dialog when necessary
Georges Basile Stavracas Neto [Thu, 30 Jan 2020 14:44:43 +0000 (11:44 -0300)]
screenShield: Activate dialog when necessary

Activating a dialog is slightly different from opening it; the
former is about showing the user authentication widgetry, while
the latter is about creating it and pre-allocating the necessary
resources.

Activate the screen shield dialog when necessary.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Lift the unlock dialog
Georges Basile Stavracas Neto [Fri, 29 Nov 2019 15:24:17 +0000 (12:24 -0300)]
screenShield: Lift the unlock dialog

Instead of scaling it, lift the unlock dialog when unlocking,
and vice-versa.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Remove scrolling
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 23:11:17 +0000 (20:11 -0300)]
screenShield: Remove scrolling

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Cleanup unused method arguments
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 23:05:51 +0000 (20:05 -0300)]
screenShield: Cleanup unused method arguments

The 'velocity' argument is not used anymore, since the only
caller passing a different value than 0 was the drag motion
callback.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Remove the drag action from the shield
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 23:00:58 +0000 (20:00 -0300)]
screenShield: Remove the drag action from the shield

This is start of the end of the screen shield; start by
removing the dragging action from it.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Don't destroy on cancel
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 22:47:58 +0000 (19:47 -0300)]
unlockDialog: Don't destroy on cancel

Otherwise there will be no way to recover it in the future. Also
remove an else condition that assumed the dialog would destroy
itself on cancel.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Always show session's unlock dialog
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 22:30:02 +0000 (19:30 -0300)]
screenShield: Always show session's unlock dialog

Instead of destroying the dialog when the screen shield is
visible, and creating it when lifting the shield, always show
the session's unlock dialog.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Remove _lockScreenContents and family
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 22:25:55 +0000 (19:25 -0300)]
screenShield: Remove _lockScreenContents and family

It is not used anymore, and together with it, we don't need the
_ensureLockScreen() / _clearLockScreen() pair anymore too.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Blur background
Georges Basile Stavracas Neto [Tue, 7 Jan 2020 19:43:35 +0000 (16:43 -0300)]
unlockDialog: Blur background

Add a 200px blur with a 55% brightness to the unlock dialog
background.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Move background to Unlock Dialog
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 22:16:55 +0000 (19:16 -0300)]
screenShield: Move background to Unlock Dialog

In addition to that, remove the ClutterBoxLayout that is set as
the layout manager of the Unlock Dialog, and apply the primary
monitor constraint to the child St.BoxLayout instead.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Remove unused 'onPrimary' argument
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 21:53:46 +0000 (18:53 -0300)]
screenShield: Remove unused 'onPrimary' argument

The 'onPrimary' argument was being passed to dialog.open(). Turns out,
neither UnlockDialog nor LoginDialog use this parameter.

Remove the unnecessary 'onPrimary' parameter, and cleanup the related
code.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Move notifications to Unlock Dialog
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 21:35:13 +0000 (18:35 -0300)]
screenShield: Move notifications to Unlock Dialog

Also adjust the CSS style classes names to match the new owner.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog, loginDialog: Add a 'wake-up-screen' signal
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 21:22:55 +0000 (18:22 -0300)]
unlockDialog, loginDialog: Add a 'wake-up-screen' signal

The signal is currently present in the notifications box, but next
commits will move the notifications box to the unlock dialog.

Add a 'wake-up-screen' signal to the dialogs.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agounlockDialog: Adjust date format
Georges Basile Stavracas Neto [Mon, 10 Feb 2020 22:11:26 +0000 (19:11 -0300)]
unlockDialog: Adjust date format

As per design feedback at FOSDEM, adjust the time format to
not have a comma, nor padding.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Move clock to Unlock Dialog
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 21:16:53 +0000 (18:16 -0300)]
screenShield: Move clock to Unlock Dialog

Move the Screen Shield clock to Unlock Dialog. Also adjust
the CSS style classes names to match the new owner.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agoscreenShield: Remove arrows
Georges Basile Stavracas Neto [Thu, 28 Nov 2019 21:01:38 +0000 (18:01 -0300)]
screenShield: Remove arrows

They are not present anywhere in the new mockups.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872

6 years agokeyboard: Only enable automatically if ClutterSeat::touch-mode is enabled
Carlos Garnacho [Mon, 10 Feb 2020 19:03:30 +0000 (20:03 +0100)]
keyboard: Only enable automatically if ClutterSeat::touch-mode is enabled

This defers the policy on backends about whether it makes sense to show
the OSK.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/872
6 years agoUpdate Finnish translation
Jiri Grönroos [Mon, 10 Feb 2020 21:31:42 +0000 (21:31 +0000)]
Update Finnish translation

6 years agoUpdate Turkish translation
Emin Tufan Çetin [Mon, 10 Feb 2020 20:24:58 +0000 (20:24 +0000)]
Update Turkish translation

6 years agoUpdate Indonesian translation
Kukuh Syafaat [Mon, 10 Feb 2020 06:52:35 +0000 (06:52 +0000)]
Update Indonesian translation

6 years agoUpdate Galician translation
Fran Dieguez [Sun, 9 Feb 2020 22:26:45 +0000 (22:26 +0000)]
Update Galician translation

6 years agoUpdate Japanese translation
sicklylife [Sat, 8 Feb 2020 20:44:46 +0000 (20:44 +0000)]
Update Japanese translation

6 years agoUpdate Japanese translation
sicklylife [Sat, 8 Feb 2020 20:31:51 +0000 (20:31 +0000)]
Update Japanese translation

6 years agoUpdate British English translation
Bruce Cowan [Sat, 8 Feb 2020 13:03:04 +0000 (13:03 +0000)]
Update British English translation

6 years agoUpdated Lithuanian translation
Aurimas Černius [Sat, 8 Feb 2020 12:25:56 +0000 (14:25 +0200)]
Updated Lithuanian translation

6 years agoUpdate Basque translation
Asier Sarasua Garmendia [Sat, 8 Feb 2020 08:10:26 +0000 (08:10 +0000)]
Update Basque translation

6 years agoUpdate Persian translation
Danial Behzadi [Fri, 7 Feb 2020 22:06:14 +0000 (22:06 +0000)]
Update Persian translation

6 years agomagnifier: Make magnification factor changes animatable
Carlos Garnacho [Thu, 6 Feb 2020 13:21:14 +0000 (14:21 +0100)]
magnifier: Make magnification factor changes animatable

So we can seamlessly change between them through eg. keybindings.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984

6 years agomagnifier: Implement pointer motion tracking differently
Carlos Garnacho [Thu, 6 Feb 2020 12:25:20 +0000 (13:25 +0100)]
magnifier: Implement pointer motion tracking differently

The use of the core idle monitor means that focus change events
are also delayed by keyboard interaction. Since the magnifier is
already in the business of pointer tracking, it's easy enough to
fire the pointer rest timeout from here, so focus changes are
accumulated and delayed.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984

6 years agomagnifier: Animate focus/caret position changes
Carlos Garnacho [Thu, 6 Feb 2020 10:03:09 +0000 (11:03 +0100)]
magnifier: Animate focus/caret position changes

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984

6 years agomagnifier: Add support for animating "scroll" on focus changes
Carlos Garnacho [Thu, 6 Feb 2020 10:00:44 +0000 (11:00 +0100)]
magnifier: Add support for animating "scroll" on focus changes

This is nice in that it provides a hint of the relative position of
the new focus area, as opposed to a sudden jump.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984

6 years agomagnifier: Transform a11y events' coordinates by scale factor
Carlos Garnacho [Thu, 6 Feb 2020 09:59:20 +0000 (10:59 +0100)]
magnifier: Transform a11y events' coordinates by scale factor

We get those events in logical coordinates, which we have to transform
into actual pixels.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984

6 years agomagnifier: Ignore repeated a11y events
Carlos Garnacho [Thu, 6 Feb 2020 09:56:44 +0000 (10:56 +0100)]
magnifier: Ignore repeated a11y events

We may get several a11y events setting the caret on the same
coordinates it previously was. Make focus tracking ignore those,
as we're jumping to the same coordinates again during eg. mouse
operation.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984

6 years agomagnifier: Sanity check coordinates in scrollContentsTo
Carlos Garnacho [Thu, 6 Feb 2020 09:52:24 +0000 (10:52 +0100)]
magnifier: Sanity check coordinates in scrollContentsTo

We may receive a11y events with bogus coordinates (eg. x/y = minint),
so ensure the coordinates are sane before scrolling there.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984

6 years agomagnifier: Clip all crosshair lines at even distances
Carlos Garnacho [Thu, 6 Feb 2020 09:38:50 +0000 (10:38 +0100)]
magnifier: Clip all crosshair lines at even distances

If the crosshair is clipped so it doesn't cover the pointer cursor,
the clip rectangle is skewed towards the bottom/right. This was
made so to accomodate the default pointer, but the unevenness stays
on other pointer cursors, and it makes the crosshair look odd on
short crosshair length.

Make all lines clip to an even distance from the center instead.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984

6 years agomagnifier: Apply color inversion to crosshairs/pointer
Carlos Garnacho [Thu, 6 Feb 2020 09:33:27 +0000 (10:33 +0100)]
magnifier: Apply color inversion to crosshairs/pointer

It is somewhat unexpected that crosshair color and pointer cursor colors
remain the same across changes in color inversion settings, and may lead
to contrast issues. Apply the effect on the common container, so it
applies to these all.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984

6 years agomagnifier: Apply scale factor to crosshair length
Carlos Garnacho [Thu, 6 Feb 2020 09:31:17 +0000 (10:31 +0100)]
magnifier: Apply scale factor to crosshair length

On hidpi displays the length is double as advertised, make it match
the advertised length.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984

6 years agoUpdate Swedish translation
Anders Jonsson [Fri, 7 Feb 2020 15:02:26 +0000 (15:02 +0000)]
Update Swedish translation

6 years agoworkspace: Animate window clones using translation properties
Daniel van Vugt [Thu, 16 Jan 2020 10:42:50 +0000 (18:42 +0800)]
workspace: Animate window clones using translation properties

Instead of position x/y properties. This reduces CPU-intensive relayouts
in JavaScript (`vfunc_allocate` etc).

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1271
since the other fix required already landed in 4c4846e9.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/936

6 years agodnd: Make DND translation-property-aware
Daniel van Vugt [Wed, 22 Jan 2020 08:40:50 +0000 (16:40 +0800)]
dnd: Make DND translation-property-aware

Previously DND only worked properly for actors with zero translation.
But it only requires a small tweak to `this._dragOffsetX/Y` to support
non-zero translation values.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/936

6 years agoUpdate Persian translation
Danial Behzadi [Fri, 7 Feb 2020 13:04:10 +0000 (13:04 +0000)]
Update Persian translation

6 years agoiconGrid: Avoid animating the same icon twice
Daniel van Vugt [Fri, 7 Feb 2020 09:23:11 +0000 (17:23 +0800)]
iconGrid: Avoid animating the same icon twice

If the icon proper has opacity of zero then that's probably because a
clone of it is animating. So avoid animating the source actor too.

And if there's any other reason for the opacity being zero, still don't
animate it because we can't see it :)

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/2167
6 years agoappDisplay: Call super.vfunc_unmap last
Daniel van Vugt [Fri, 7 Feb 2020 09:57:19 +0000 (17:57 +0800)]
appDisplay: Call super.vfunc_unmap last

So as to guarantee the unmapped state sticks and doesn't get toggled
back to mapped before we return.

Being in a mapped state when `FolderIcon.vfunc_unmap()` returned was
causing an assertion failure in `clutter_actor_set_mapped` and crashed
the shell.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/2170
6 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 7 Feb 2020 10:54:07 +0000 (11:54 +0100)]
Updated Spanish translation

6 years agoMerge branch 'master' of gitlab.gnome.org:GNOME/gnome-shell
Daniel Mustieles [Fri, 7 Feb 2020 10:54:07 +0000 (11:54 +0100)]
Merge branch 'master' of gitlab.gnome.org:GNOME/gnome-shell

6 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Thu, 6 Feb 2020 23:47:17 +0000 (23:47 +0000)]
Update Brazilian Portuguese translation

6 years agoBump version to 3.35.90
Florian Müllner [Thu, 6 Feb 2020 20:02:17 +0000 (21:02 +0100)]
Bump version to 3.35.90

Update NEWS.

6 years agotheme: Get back .weather-header-box styling
nana-4 [Thu, 6 Feb 2020 13:18:01 +0000 (22:18 +0900)]
theme: Get back .weather-header-box styling

This introduced in f2df9f1a was lost in 9ea745bc.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Move .world-clocks-button before .weather-button
nana-4 [Thu, 6 Feb 2020 13:15:19 +0000 (22:15 +0900)]
theme: Move .world-clocks-button before .weather-button

As per the layout.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme/calendar: Don't nest all card styles for code consistency
nana-4 [Thu, 6 Feb 2020 13:08:33 +0000 (22:08 +0900)]
theme/calendar: Don't nest all card styles for code consistency

The inconsistent styling rules "some card styles are nested, but some
are not" and "some card styles are nested, but some of their descendant
styles are defined elsewhere" are very confusing.

This commit stops nesting all card styles to make the coding style
consistent and less confusing.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Adjust calendar popover sizing
nana-4 [Thu, 6 Feb 2020 12:42:13 +0000 (21:42 +0900)]
theme: Adjust calendar popover sizing

- Remove bottom blank space on the right column of the calendar popover
  so that the weather card is bottom-aligned with the clear button on
  the left column.
- Remove top blank space on the left column of the calendar popover so
  that the message list is top-aligned with the today button on the
  right column.
- Adjust .message-list-controls sizing to align with other card-styled
  elements.
- Use regular `spacing` instead of margin for some spacing.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2088
Closes https://gitlab.gnome.org/GNOME/gnome-shell/issues/2120

6 years agotheme: Simplify .message styling
nana-4 [Tue, 4 Feb 2020 16:15:27 +0000 (01:15 +0900)]
theme: Simplify .message styling

- Use fewer properties for layout.
- Use .message-body instead of .message-content to change the body
  color, and remove some color overrides.
- Fix border-radius for last .message-media-control, not only on hover.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Reorder selectors in .message
nana-4 [Tue, 4 Feb 2020 16:08:20 +0000 (01:08 +0900)]
theme: Reorder selectors in .message

The order was messed up when the recent Sass reorganization.
This reorders the selectors in .message to make sense again.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme/notifications: Remove some duplicate or pointless styling
nana-4 [Tue, 4 Feb 2020 16:07:55 +0000 (01:07 +0900)]
theme/notifications: Remove some duplicate or pointless styling

Those styles are defined in .message and do not need to be overridden in
.notification-banner.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme/notifications: Remove some unused style classes
nana-4 [Tue, 4 Feb 2020 16:07:04 +0000 (01:07 +0900)]
theme/notifications: Remove some unused style classes

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Apply spacing to .overview-icon-with-label correctly
nana-4 [Tue, 4 Feb 2020 16:03:05 +0000 (01:03 +0900)]
theme: Apply spacing to .overview-icon-with-label correctly

- Remove margin-bottom for StIcon, which is not only ineffective, but
  also created a bug in app folders.
- Remove ">" which is invalid for overview icons that are not app
  folders.
- Apply spacing to the correct target "StBoxLayout", not the parent
  .overview-icon.overview-icon-with-label.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/2129

6 years agotheme/search-results: Use spacing instead of margin or padding
nana-4 [Sat, 25 Jan 2020 09:58:33 +0000 (18:58 +0900)]
theme/search-results: Use spacing instead of margin or padding

Those margin and padding broke spacing in RTL layout. We should use
regular `spacing` for them as before the refactoring.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Simplify .search-section-content items styling
nana-4 [Sat, 25 Jan 2020 09:11:28 +0000 (18:11 +0900)]
theme: Simplify .search-section-content items styling

This reduces duplicate code in .search-provider-icon and
.list-search-result by using %search-section-content-item
to improve maintainability.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Simplify .overview-icon styling
nana-4 [Sat, 25 Jan 2020 08:53:17 +0000 (17:53 +0900)]
theme: Simplify .overview-icon styling

This reduces duplicate code by using overview-icon() and %app-well-app
to improve maintainability.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Add interactive styling to .events-section-title again
nana-4 [Sat, 25 Jan 2020 04:13:20 +0000 (13:13 +0900)]
theme: Add interactive styling to .events-section-title again

Since it's an interactive element, interactive styling is still needed.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2088

6 years agotheme: Make %notification_bubble a mixin
nana-4 [Sat, 25 Jan 2020 03:15:54 +0000 (12:15 +0900)]
theme: Make %notification_bubble a mixin

And simplify .datemenu-today-button styling by using it.

This allows removing duplicate code for flat notification_bubble
styling.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Remove unnecessary !important rules
nana-4 [Sat, 25 Jan 2020 02:37:16 +0000 (11:37 +0900)]
theme: Remove unnecessary !important rules

Using !important is a bad practice and should be avoided wherever
possible to make styling and debugging easier. See:

https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity#The_!important_exception

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Remove some unsupported CSS properties
nana-4 [Sat, 25 Jan 2020 01:11:14 +0000 (10:11 +0900)]
theme: Remove some unsupported CSS properties

CSS opacity and border-{top,bottom}-{left,right}-radius are not
supported by St.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotexture-cache: Fix invalid reads when storing used resource scales
Sebastian Keller [Mon, 3 Feb 2020 00:06:14 +0000 (01:06 +0100)]
texture-cache: Fix invalid reads when storing used resource scales

The used_scales hash table uses g_double_hash and g_double_equal which
try to read a double from the passed pointers. The pointers however were
pointing to a float, leading to an invalid read.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/974

6 years agoextensionPrefs: Remove stray > in .ui file
Florian Müllner [Thu, 6 Feb 2020 19:03:35 +0000 (20:03 +0100)]
extensionPrefs: Remove stray > in .ui file

This slipped through as GtkBuilder still accepts it, but let's
not rely on that and fix our XML.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2180

6 years agoextensionPrefs: Make the Log Out button a proper verb
Piotr Drąg [Wed, 5 Feb 2020 19:43:59 +0000 (20:43 +0100)]
extensionPrefs: Make the Log Out button a proper verb

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/981

6 years agoappDisplay: Disable swipe tracker during swarm animation
Alexander Mikhaylenko [Wed, 5 Feb 2020 19:59:38 +0000 (00:59 +0500)]
appDisplay: Disable swipe tracker during swarm animation

Eensures it resets when an animation starts.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2177

6 years agoswipeTracker: Reset scroll gesture state on disabling
Alexander Mikhaylenko [Wed, 5 Feb 2020 19:51:45 +0000 (00:51 +0500)]
swipeTracker: Reset scroll gesture state on disabling

Ensure that scrolling works correctly next time it's enabled.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2177

6 years agoportalHelper: Enable WebKit sandbox if available
Michael Catanzaro [Wed, 5 Feb 2020 22:18:11 +0000 (22:18 +0000)]
portalHelper: Enable WebKit sandbox if available

The portal helper is rather sensitive because potentially-hostile Wi-Fi
networks can decide to launch it whenever they want (by blocking the
user's connection to the nmcheck domain) and load whatever web content
they want into it. So having this unsandboxed is really extraordinarily
risky. Previously it was a risk we had to accept, because WebKit did not
have a web process sandbox, but now it does. So let's bubblewrap all the
things!

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/983

6 years agotheme: revert app grid button styling
Jakub Steiner [Wed, 5 Feb 2020 16:30:42 +0000 (17:30 +0100)]
theme: revert app grid button styling

- the plan was to drop the frequent/all view switcher, thus sam didn't
  pay too much attention to the button styling for those. Sadly the view
  switcher remains, so we should keep the old subtle styling intact.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/979

6 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 6 Feb 2020 10:40:07 +0000 (11:40 +0100)]
Updated Spanish translation

6 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 6 Feb 2020 10:39:36 +0000 (11:39 +0100)]
Updated Spanish translation

6 years agoUpdated Lithuanian translation
Aurimas Černius [Wed, 5 Feb 2020 20:49:34 +0000 (22:49 +0200)]
Updated Lithuanian translation

6 years agoextensionPrefs: Add a translator comment to the .desktop file
Piotr Drąg [Wed, 5 Feb 2020 19:38:29 +0000 (20:38 +0100)]
extensionPrefs: Add a translator comment to the .desktop file

So that Damned Lies filters out the Icon key from translation.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/980

6 years agoUpdate POTFILES.in
Piotr Drąg [Wed, 5 Feb 2020 19:31:50 +0000 (20:31 +0100)]
Update POTFILES.in

6 years agoUpdate Swedish translation
Anders Jonsson [Wed, 5 Feb 2020 17:25:53 +0000 (17:25 +0000)]
Update Swedish translation

6 years agomagnifier: Use core idletime monitor
Carlos Garnacho [Wed, 5 Feb 2020 15:49:34 +0000 (16:49 +0100)]
magnifier: Use core idletime monitor

As it's getting the idletime monitor for the seat pointer, boils
down to about the same thing. We are moving away from per-device
idletime monitors though.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/978

6 years agoUpdate Indonesian translation
Kukuh Syafaat [Wed, 5 Feb 2020 11:33:09 +0000 (11:33 +0000)]
Update Indonesian translation

6 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 5 Feb 2020 10:17:28 +0000 (11:17 +0100)]
Updated Spanish translation

6 years agoextensionPrefs: Fix typo
Florian Müllner [Tue, 4 Feb 2020 17:51:57 +0000 (18:51 +0100)]
extensionPrefs: Fix typo

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2176

6 years agostatus/system: Fix session submenu visibility
Florian Müllner [Tue, 4 Feb 2020 01:35:43 +0000 (02:35 +0100)]
status/system: Fix session submenu visibility

Commit 147a743d8d7 moved the suspend and power-off actions into
the submenu that contains the log-out and switch-user actions,
but did not update the submenu visibility logic to account for
the additional actions.

As a result, the submenu is hidden when log-out and switch-user
are unavailable (like on the login screen), even if suspend and
power-off are enabled.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2169

6 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 4 Feb 2020 11:32:50 +0000 (12:32 +0100)]
Updated Spanish translation

6 years agoUpdate Slovak translation
Dušan Kazik [Tue, 4 Feb 2020 10:02:46 +0000 (10:02 +0000)]
Update Slovak translation

6 years agoextensionPrefs: Schedule updates check on activate
Florian Müllner [Sun, 26 Jan 2020 23:47:18 +0000 (00:47 +0100)]
extensionPrefs: Schedule updates check on activate

While gnome-shell will now check for extension updates, the checks
are performed infrequently. Opening the Extensions app implies that
the user's current focus is on extensions, so it is an appropriate
time to schedule another updates check.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968